<!DOCTYPE html>
<html>
<head>
    <script src="lib/easeljs-0.7.1.min.js" type="text/javascript"></script>
    <script src="lib/tweenjs-0.5.1.min.js" type="text/javascript"></script>
	<title></title>
</head>
<body onload="init()">
    <canvas id="canvas" width="600" height="600" style="border: 1px solid #ccc;"></canvas>
</body>
</html>

<script type="text/javascript">
    var stage = new createjs.Stage('canvas');
    stage.x = 100;
    stage.y = 100;
    var text = new createjs.Text('我想下课，下课','30px New Times Roman',"#ff0000")
    stage.addChild(text);
    createjs.Ticker.addEventListener('tick',function(){
        stage.update()
    })
    createjs.Ticker.setFPS(60)
</script>